using System;
using System.Collections.Generic;
using Comdiv.Conversations;

namespace Comdiv.Conversations.Tests{
    public class TypedConversation:IConversation{
        public string Code { get; set; }
        public string Owner { get; set; }
        public bool Finished { get; set; }
        public IDictionary<string, object> Data { get; private set; }
        public bool initvisited = false;
        public bool entervisited = false;
        public bool leavevisited = false;
        public bool finishvisited = false;
        public void Init(){
            initvisited = true;
        }

        public void Enter(){
            entervisited = true;
        }

        public void Leave(){
            leavevisited = true;
        }

        public void Finish(){
            finishvisited = true;
        }

        public int ActualEnters
        {
            get; set;
        }

        public string Class
        {
            get; set;
        }
    }
}